************************************************************
**       ADDING SCHOOL GROUP TO THE APPENDED DATA SET     **
************************************************************
clear all
use "group_add.dta", clear
*merging 1:m the school locations with the appended data set

merge 1:m schoolid using "$clean/appended_final.dta"

*label define baseline_student 1 "Yes" 0 "No", replace

rename treatment group
la de grouplab 1 "Treatment" 2 "Control"
la val group grouplab

drop if _merge == 1
drop _merge
